<h2>DESCRIPTION</h2>

<em>d.shade</em> will drape a color raster map over a shaded relief map.
In place of shaded relief, any raster map can be used including aspect or slope.
The color raster map is usually an elevation raster map with colorful color
table (as opposed to gray scale color table). However, any raster map can be
used including categorical raster maps.

<p>
The advantage of this module is that it allows visualizing the shaded map
without a need to create a new raster which would combine both.
Comparing to creating shaded relief as semi-transparent overlay on
the color raster map, this module gives result with more saturated colors.

<p>
The input for this module can be created for example using
<a href="r.slope.aspect.html">r.slope.aspect</a> or
<a href="r.relief.html">r.relief</a><br>.


<h2>NOTES</h2>

Refer to the <em><a href="d.his.html">d.his</a></em> help page for more details;
<em>d.shade</em> is simply a frontend to that module.


<h2>EXAMPLES</h2>

In this example, the <tt>aspect</tt> map in the North Carolina sample
dataset location is used to hillshade the <tt>elevation</tt> map:

<div class="code"><pre>
g.region raster=aspect -p
d.mon wx0
d.shade shade=aspect color=elevation
</pre></div>

<!--
image generated using the example above
display region: g.region -a n=227228 s=220895 w=631362 e=641170
d.out.file dshade.png
optipng -o5 dshade.png
-->
<center>
<img src="dshade.png" alt="Elevation with aspect shades">
<p>
Figure: A detail of raster created by applying shading effect of aspect
to elevation raster map from North Carolina dataset elevation map
<!--
TODO: perhaps add some explanation or thoughts about aspect versus shaded
relief such as: in this case the shades created using aspect are much sharper
comparing to what shaded relief would give and there are some extreme values
in some areas
-->
</center>

In this next example, a shaded relief raster map is created
and used to create a colorized hillshade:

<div class="code"><pre>
g.region raster=elevation
r.relief input=elevation output=elevation_shaded_relief

d.mon wx1
d.shade shade=elevation_shaded_relief color=elevation
</pre></div>

Interesting visualizations can be created using different color tables for
elevation raster map, for example using <tt>haxby</tt> color table.


<h2>SEE ALSO</h2>

<em>
<a href="d.his.html">d.his</a>,
<a href="g.pnmcomp.html">g.pnmcomp</a>,
<a href="r.shade.html">r.shade</a>,
<a href="r.slope.aspect.html">r.slope.aspect</a>,
<a href="r.relief.html">r.relief</a><br>
<a href="wxGUI.nviz.html">wxGUI 3D viewer (NVIZ)</a>
</em>


<h2>AUTHORS</h2>

Unknown; updated to GRASS 5.7 by Michael Barton

<!--
<p>
<i>Last changed: $Date$</i>
-->
